﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="/js/jquery-1.7.2.js" type="text/javascript"></script>
    <script src="jquery.pagination.js" type="text/javascript"></script>
    <script src="/js/jsPublic.js" type="text/javascript"></script>
</head>
<body>
<input type="button" value="open" onclick="opens()" />
<div id="Pager"></div>
<script type="text/javascript" >
    function initPagination() {
        var num_entries = 100;
        $("#Pager").pagination(num_entries, {
            link_to: "/admin/userlist/?index=__id__",
            current_page: 0,
            items_per_page: 20,
            prev_text: '上一页',
            next_text: '下一页 ',
            first_text: "首页",
            last_text: "尾页"
        });
    }
    $(document).ready(function () {
        initPagination();
    });

    function opens() {
        var aa = window.showModalDialog('test.htm', window, 'dialogWidth=200px;dialogHeight=250px;');
        //alert(aa);
    }
   function aa() {
        alert('');
    }
</script>
</body>
</html>
